package com.silverbox.waimai.mapper;

import com.silverbox.waimai.entity.SweepClose;

public interface SweepCloseMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SweepClose record);

    int insertSelective(SweepClose record);
    
    int updateByPrimaryKey(SweepClose record);

    /**
  	 * 根据店铺id得到记录
  	 * @param shopId
  	 * @return
  	 */
    SweepClose getSweepCloseByStoreId(Integer storeId);

    /**
   	 * 修改接单表
   	 * @param sweepClose
   	 * @return
   	 */
    int updateSweepClose(SweepClose sweepClose);
}